#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_Constant.nanopb.h"
#ifndef MAX_CONSTANT_CONSTANT_NUM
#define MAX_CONSTANT_CONSTANT_NUM 800
#endif

class ConstantConstantDesc : public NFI_DESC_TEMPLATE_MACRO(ConstantConstantDesc, E_ConstantConstant, EOT_CONST_CONSTANT_CONSTANT_DESC_ID, MAX_CONSTANT_CONSTANT_NUM)
public:
	ConstantConstantDesc();
	virtual ~ConstantConstantDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
